package com.kamistoat.ruoyi.ruoyimodulessystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.kamistoat.ruoyi.ruoyicommoncore.utils.page.PageUtils;
import com.kamistoat.ruoyi.ruoyiapisystem.entity.SysRoleMenuEntity;

import java.util.List;
import java.util.Map;

/**
 * 角色和菜单关联表
 *
 * @author kamistoat
 * @email linjianshanke@163.com
 * @date 2022-08-09 10:34:46
 */
public interface SysRoleMenuService extends IService<SysRoleMenuEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 删除 roleIds 的菜单权限关联
     */
    boolean deleteByRoleId(List<Long> roleIds);
}

